package com.io;

public class Test {
    public static void main(String[] args) {
        String str="hello world today I think many";
        String[]arr=str.split(" ");
        for(int i=0;i<arr.length;i++){
            System.out.println(arr[i]);
        }

        char[]str2=str.toCharArray();
        for(char data:str2){
            System.out.println(data);
        }


    }
}
